package views;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;

public class TeremnyilvantartasFoView extends Composite {

	private TeremnyilvantartasFejlecView fejlecView;
	private TeremnyilvantartasFoglalasView foglalasView;

	public TeremnyilvantartasFoView(Composite arg0, int arg1) {
		super(arg0, arg1);
		GridLayout gridLayout = new GridLayout(1, false);
		gridLayout.horizontalSpacing = 0;
		gridLayout.verticalSpacing = 0;
		gridLayout.marginWidth = 0;
		gridLayout.marginHeight = 0;
		setLayout(gridLayout);

		fejlecView = new TeremnyilvantartasFejlecView(this, SWT.NONE);
		fejlecView.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false,
				1, 1));

		foglalasView = new TeremnyilvantartasFoglalasView(this, SWT.NONE);
		foglalasView.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false,
				false, 1, 1));

	}

	public TeremnyilvantartasFejlecView getFejlecView() {
		return fejlecView;
	}

	public TeremnyilvantartasFoglalasView getFoglalasView() {
		return foglalasView;
	}

}
